<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>首页</title>
  <!-- 导入对应CSS -->
  <link rel="stylesheet" href="./lib/layui/css/layui.css">
  <link rel="stylesheet" href="./css/index.css">
</head>

<body>
  <!-- 布局容器 -->
  <div class="layui-layout layui-layout-admin">
    <!-- 头部区域（可配合layui 已有的水平导航） -->
    <div class="layui-header">
      <div class="layui-logo layui-hide-xs layui-bg-black">B-Log管理系统</div>
      <ul class="layui-nav layui-layout-right">
        <li class="layui-nav-item layui-hide layui-show-md-inline-block">
          <a href="javascript:;" id="userinfo-link">
            <img src="" class="layui-nav-img">
            <span></span>
          </a>
          <dl class="layui-nav-child">
            <dd><a href="./page/user/userinfo.html" target="body">基本资料</a></dd>
            <dd><a href="./page/user/user-avatar.html" target="body">更改头像</a></dd>
            <dd><a href="./page/user/user-pwd.html" target="body">修改密码</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
          <a href="javascript:;" id="logout-link">
            退出
            <i class="layui-icon layui-icon-close"></i>
          </a>
        </li>
      </ul>
    </div>

    <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
    <div class="layui-side layui-bg-black">
      <div class="layui-side-scroll">
        <ul class="layui-nav layui-nav-tree" lay-filter="test" lay-shrink="all">
          <!-- layui-nav-itemed 展开菜单 -->
          <li class="layui-nav-item layui-this">
            <a href="./page/dashboard.html" target="body"><i class="layui-icon layui-icon-home"></i> 首页</a>
          </li>
          <li class="layui-nav-item ">
            <a class="" href="javascript:;"><i class="layui-icon layui-icon-app"></i> 文章管理</a>
            <dl class="layui-nav-child">
              <!-- 通过target设置a标签控制iframe标签跳转 -->
              <dd><a href="./page/article/article-cate.html" target="body"><i class="layui-icon layui-icon-app"></i> 文章分类</a></dd>
              <dd><a href="./page/article/article-list.html" target="body"><i class="layui-icon layui-icon-app"></i> 文章列表</a></dd>
              <dd><a href="./page/article/article-pub.html" target="body"><i class="layui-icon layui-icon-app"></i> 发表文章</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item">
            <a href="javascript:;"><i class="layui-icon layui-icon-user"></i> 个人中心</a>
            <dl class="layui-nav-child">
              <dd><a href="./page/user/userinfo.html" target="body"><i class="layui-icon layui-icon-app"></i> 基本资料</a></dd>
              <dd><a href="./page/user/user-pwd.html" target="body"><i class="layui-icon layui-icon-app"></i> 更改密码</a></dd>
              <dd><a href="./page/user/user-avatar.html" target="body"><i class="layui-icon layui-icon-app"></i> 更改头像</a></dd>
            </dl>
          </li>
        </ul>
      </div>
    </div>

    <!-- 内容主体区域 -->
    <div class="layui-body">
      <!-- 通过iframe标签实现页面之间的嵌套  src指定加载页面地址 name设置iframe名字-->
      <iframe name="body" src="./page/article/article-pub.html" frameborder="0"></iframe>
    </div>

    <!-- 底部固定区域 -->
    <div class="layui-footer">
      www.zz.com@hzjc2207
    </div>
  </div>


  <!-- 导入对应JS -->
  <!-- 将资源地址统一使用以运行目录为根路径的地址【URL资源地址】  -->
  <script src="./lib/layui/layui.all.js"></script>
  <script src="./lib/jquery.js"></script>
  <script src="./js/BASE_API.js"></script>
  <script src="./js/index.js"></script>
</body>

</html>